#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <map>
#include <cmath>
using namespace std;
const double PI = 3.14159265;
int main1005()
{

	int N;
	cin >> N;
	for (int i = 0;i<N;i++)
	{
		double x,y;
		cin >> x >> y;
		double temp = (x * x + y * y) * PI / 100;
		cout << "Property "<<(i+1)<<": This property will begin eroding in year "<<ceil(temp)<<"."<<endl;
	}
	cout << "END OF OUTPUT." << endl;
	return 0;
}